package net.wanho.service.impl;

import lombok.RequiredArgsConstructor;
import net.wanho.dto.Statistic;
import net.wanho.mapper.ProductMapper;
import net.wanho.service.StatisticsService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
@RequiredArgsConstructor
public class StatisticsServiceImpl implements StatisticsService {
    private final ProductMapper productMapper;
    @Override
    public List<Statistic> storeInvent() {
        List<Statistic> list =productMapper.storeInvent();
        return list;
    }
}
